package com.aaa.ar.service.impl;

import com.aaa.ar.service.BookService;
import com.aaa.common.entity.Book;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：杨
 * @date ：Created in 2020/7/24 15:55
 * @description：
 * @modified By：
 * @version:
 */
@Component
public class BookServiceFallBack implements BookService {
    @Override
    public List<Book> selectBook() {
        List<Book> list=new ArrayList<>();
        Book book=new Book();
        book.setId(000);
        book.setBookPrice(000);
        book.setBookName("服务去吃饭了，不能为您服务了。。");
        list.add(book);
        return list;
    }
}
